package com.dhecp.project.system.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.system.domain.SysVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName SysVersionMapper
 * @Description TODO
 * @Author alula
 * @Date 2020-03-12 10:19
 */
public interface SysVersionMapper extends GenericDao<SysVersion, String> {

    List<SysVersion> findVersionList(Map<String, Object> params);

    SysVersion findVersionById(@Param("guid") String guid);

    int findVersionByVersionCount(Map<String, Object> params);

    int deleteVersionByGuid(@Param("guid") String guid);
}
